﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BlackBBS.Models.Data;

namespace BlackBBS.Infrastructure.Repository
{
    public interface IServerRepository : IDisposable
    {
        void Init(ConfigSettings settings);
        IRepository<BBSListEntry> BBSLists { get; set; }
        IRepository<CallHistory> CallHistories { get; set; }
        IRepository<ChatRoom> ChatRooms { get; set; }
        IRepository<Email> Emails { get; set; }
        IRepository<ExtProgram> ExtPrograms { get; set; }
        IRepository<File> Files { get; set; }
        IRepository<FileArea> FileAreas { get; set; }
        IRepository<Group> Groups { get; set; }
        IRepository<MessageArea> MessageAreas { get; set; }
        IRepository<Message> Messages { get; set; }
        IRepository<Network> Networks { get; set; }
        IRepository<Session> Sessions { get; set; }
        IRepository<User> Users { get; set; }
    }
}
